package com.tyk.bookstore.back.logistics.manager.excel.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.BorderStyleEnum;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author tyk
 * @description WaybillExcelVo
 */
@Data
@Accessors(chain = false)
@HeadStyle(fillForegroundColor = 9, borderBottom = BorderStyleEnum.THIN)
@HeadFontStyle(fontHeightInPoints = 11)
@ContentStyle(borderTop = BorderStyleEnum.THIN, borderBottom = BorderStyleEnum.THIN, borderLeft = BorderStyleEnum.THIN, borderRight = BorderStyleEnum.THIN)

public class WaybillExcelVo {

    @ExcelProperty("ID")
    private String id;

    @ExcelProperty("物流单号")
    private String trackingNo;

    @ExcelProperty("会员ID")
    private String memberId;

    @ExcelProperty("订单ID")
    private String orderId;

    @ExcelProperty("仓库ID")
    private String warehouseId;

    @ExcelProperty("仓库名称")
    private String warehouseName;

    @ExcelProperty("快递公司ID")
    private String expressCompanyId;

    @ExcelProperty("快递公司名称")
    private String expressCompanyName;

    @ExcelProperty("货物重量[单位：克]")
    private String weight;

    @ExcelProperty("运费")
    private BigDecimal freight;

    @ExcelProperty("状态")
    private String state;

    @ExcelProperty("寄件人所在区域ID")
    private Long senderAreaCode;

    @ExcelProperty("寄件人所在区域")
    private String senderAreaFullName;

    @ExcelProperty("寄件人姓名")
    private String senderName;

    @ExcelProperty("寄件人电话")
    private String senderPhone;

    @ExcelProperty("寄件人地址")
    private String senderAddress;

    @ExcelProperty("收件人所在区域ID")
    private Long cneeAreaCode;

    @ExcelProperty("收件人所在区域")
    private String cneeAreaFullName;

    @ExcelProperty("收件人姓名")
    private String cneeName;

    @ExcelProperty("收件人电话")
    private String cneePhone;

    @ExcelProperty("收件人地址")
    private String cneeAddress;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty("更新时间")
    private LocalDateTime updateTime;

}
